$(function() {
    
var chartDom = document.getElementById('leida');
var myChart = echarts.init(chartDom);
var option;

option = {
  legend: {
    orient: 'vertical',
    left: 'left',
    textStyle:{//图例文字的样式
                color:'#fff',
                fontSize:12
            }
  },
  radar: {
    // shape: 'circle',
    indicator: [
      { name: '损坏', max: 6500 },
      { name: '损坏', max: 16000 },
      { name: '损坏', max: 30000 },
      { name: '损坏', max: 38000 },
      { name: '损坏', max: 52000 },
      { name: '损坏', max: 25000 },
    ],
    axisName: {
      color: '#fff'
    }
  },
  series: [
    {
      name: '损坏',
      type: 'radar',
      data: [
        {
          value: [4200, 3000, 20000, 35000, 50000, 18000],
          name: 'A线',
          areaStyle: {
            color: 'rgba(0, 0, 205)'
          }
        },
        {
          value: [5000, 14000, 28000, 26000, 42000, 21000],
          name: 'B线',
          areaStyle: {
            color: 'rgba(255, 228, 52)'
          }
        }
      ]

    }
  ],

};
option && myChart.setOption(option);
});